home *** CD-ROM | disk | FTP | other *** search
- // Borland C++ Builder
- // Copyright (c) 1995, 1998 by Borland International
- // All rights reserved
-
- // (DO NOT EDIT: machine generated header) 'MaskProp.pas' rev: 3.00
-
- #ifndef MaskPropHPP
- #define MaskPropHPP
- #include <Dialogs.hpp>
- #include <SysUtils.hpp>
- #include <Mask.hpp>
- #include <DsgnIntf.hpp>
- #include <Buttons.hpp>
- #include <ExtCtrls.hpp>
- #include <StdCtrls.hpp>
- #include <Controls.hpp>
- #include <Forms.hpp>
- #include <Graphics.hpp>
- #include <Classes.hpp>
- #include <Windows.hpp>
- #include <SysInit.hpp>
- #include <System.hpp>
-
- //-- user supplied -----------------------------------------------------------
-
- namespace Maskprop
- {
- //-- type declarations -------------------------------------------------------
- class DELPHICLASS TMaskProperty;
- class PASCALIMPLEMENTATION TMaskProperty : public Dsgnintf::TStringProperty
- {
- typedef Dsgnintf::TStringProperty inherited;
-
- public:
- virtual Dsgnintf::TPropertyAttributes __fastcall GetAttributes(void);
- virtual void __fastcall Edit(void);
- public:
- /* TPropertyEditor.Destroy */ __fastcall virtual ~TMaskProperty(void) { }
-
- public:
- /* TObject.Create */ __fastcall TMaskProperty(void) : Dsgnintf::TStringProperty() { }
-
- };
-
- class DELPHICLASS TMaskForm;
- class PASCALIMPLEMENTATION TMaskForm : public Forms::TForm
- {
- typedef Forms::TForm inherited;
-
- __published:
- Stdctrls::TEdit* InputMask;
- Stdctrls::TLabel* Label1;
- Stdctrls::TListBox* ListBox1;
- Stdctrls::TLabel* Label2;
- Stdctrls::TLabel* Label3;
- Mask::TMaskEdit* TestEdit;
- Stdctrls::TLabel* Label4;
- Stdctrls::TEdit* Blanks;
- Extctrls::TBevel* Bevel1;
- Stdctrls::TCheckBox* SaveMaskCheck;
- Stdctrls::TButton* Masks;
- Dialogs::TOpenDialog* OpenDialog1;
- Stdctrls::TButton* OKButton;
- Stdctrls::TButton* CancelButton;
- Stdctrls::TButton* HelpButton;
- void __fastcall BlanksChange(System::TObject* Sender);
- void __fastcall InputMaskChange(System::TObject* Sender);
- void __fastcall ListDrawItem(Controls::TWinControl* Control, int Index, const Windows::TRect &Rect,
- Stdctrls::TOwnerDrawState State);
- void __fastcall ListBoxSelect(System::TObject* Sender);
- void __fastcall FormCreate(System::TObject* Sender);
- void __fastcall MasksClick(System::TObject* Sender);
- void __fastcall HelpButtonClick(System::TObject* Sender);
-
- private:
- bool FInEditChange;
- System::AnsiString __fastcall AddBlanks(System::AnsiString Value);
- void __fastcall LoadMaskList(const System::AnsiString FileName);
-
- protected:
- System::AnsiString __fastcall GetListMaskValue(int Index);
- System::AnsiString __fastcall GetMaskValue(const System::AnsiString Value);
- virtual void __fastcall Loaded(void);
- public:
- /* TCustomForm.Create */ __fastcall virtual TMaskForm(Classes::TComponent* AOwner) : Forms::TForm(AOwner
- ) { }
- /* TCustomForm.CreateNew */ __fastcall TMaskForm(Classes::TComponent* AOwner, int Dummy) : Forms::TForm(
- AOwner, Dummy) { }
- /* TCustomForm.Destroy */ __fastcall virtual ~TMaskForm(void) { }
-
- public:
- /* TWinControl.CreateParented */ __fastcall TMaskForm(HWND ParentWindow) : Forms::TForm(ParentWindow
- ) { }
-
- };
-
- //-- var, const, procedure ---------------------------------------------------
- extern PACKAGE TMaskForm* MaskForm;
- extern PACKAGE bool __fastcall EditInputMask(System::AnsiString &InputMask, const System::AnsiString
- InitialDir);
-
- } /* namespace Maskprop */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Maskprop;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // MaskProp
-